From 4df5888df451ec09f0ac8d777481587cb846f114 Mon Sep 17 00:00:00 2001 From: tsteven4 Date: Sun, 7 Apr 2013 22:25:11 +0000 Subject: [PATCH] fix gcc warnings about non-local variables using anonymous types. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4376 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/jeeps/gpsusbcommon.cc | 2 +- gpsbabel/nmea.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/jeeps/gpsusbcommon.cc b/gpsbabel/jeeps/gpsusbcommon.cc index 79e5b2045..d16eefd82 100644 --- a/gpsbabel/jeeps/gpsusbcommon.cc +++ b/gpsbabel/jeeps/gpsusbcommon.cc @@ -29,7 +29,7 @@ * protocols as exhibited in the handhelds and dashtops. */ -enum { +static enum { rs_fromintr, rs_frombulk } receive_state; diff --git a/gpsbabel/nmea.cc b/gpsbabel/nmea.cc index 47ba567c3..5412a01e3 100644 --- a/gpsbabel/nmea.cc +++ b/gpsbabel/nmea.cc @@ -141,7 +141,7 @@ typedef enum { gprmc } preferred_posn_type; -enum { +static enum { rm_unknown = 0, rm_serial, rm_file -- 2.30.2